<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <#include "../common/header.ftl">
    <link rel="stylesheet" href="/js/plugins/treeview/bootstrap-treeview.min.css" type="text/css">
    <script type="text/javascript" src="/js/plugins/treeview/bootstrap-treeview.min.js"></script>
    <script>
        $(function () {

        })
    </script>
</head>
<body>
<div class="container " style="margin-top: 20px">
    <#include "../common/top.ftl">
    <div class="row">
        <div class="col-sm-3">
            <#assign currentMenu = "systemMessage" />
            <#include "../common/menu.ftl">
        </div>
        <div class="col-sm-9">
            <div class="row">
                <div class="col-sm-12">
                    <h1 class="page-head-line">系统消息管理</h1>
                </div>
            </div>
            <form class="form-inline" id="searchForm" action="/systemMessage/list.do" method="post">
                <input type="hidden" name="currentPage" id="currentPage" value="1">
                <div class="form-group">
                    <label for="keyword">关键字:</label>
                    <input type="text" class="form-control" id="keyword" name="keyword" value="${(qo.keyword)!}"
                           placeholder="请输入标题">
                </div>
                <button id="btn_query" class="btn btn-default">
                    <span class="glyphicon glyphicon-search"></span> 查询
                </button>
            </form>
            <div class="row">
                <table class="table table-striped table-hover">
                    <tr>
                        <th>内容</th>
                        <th>创建时间</th>
                        <th>状态</th>
                        <th>操作</th>
                    </tr>
                        <#list pageInfo.list as entitry>
                        <tr>
                            <td>${entitry.content}</td>
                            <td>${entitry.createTime?string("yyyy-MM-dd HH-mm-ss")}</td>
                            <td>
                                <#if entitry.state = true>
                                    已查看
                                <#elseif entitry.state = false>
                                    未查看
                                </#if>
                            </td>
                            <td>
                            </td>
                        </tr>
                        </#list>
                </table>
                <#include "../common/page.ftl">
            </div>
        </div>
    </div>
</div>

</body>
</html>